package www.lagou.entity;

import java.io.Serializable;

/**
 * @author cyt
 * @date 2020/7/12
 */
public class Employee implements Serializable {
    private Integer id;

    private String name;

    private Double age;

    private String deptname;

    public String getDeptnamename() {
        return deptname;
    }

    public void setDeptnamename(String dname) {
        this.deptname = dname;
    }

    public Employee(Integer id, String name, Double age, String sex, Double salary, String empdate, Integer did) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.salary = salary;
        this.empdate = empdate;
        this.did = did;
    }

    public Employee() {
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", salary=" + salary +
                ", empdate='" + empdate + '\'' +
                ", did=" + did +
                '}';
    }

    private String sex;

    private Double salary;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getAge() {
        return age;
    }

    public void setAge(Double age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    public String getEmpdate() {
        return empdate;
    }

    public void setEmpdate(String empdate) {
        this.empdate = empdate;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    private String empdate;

    private Integer did;

}
